/*
 * This file (AkSimple.java) is protected by the GNU GPL licence (v2). 
 * Please read the license.txt attached for further informations. 
 * 
 */

package alkwarel.brushes;

import alkwarel.objects.AkArtspace;
import alkwarel.objects.AkBrush;

/**
 * Simple brush (use Processing line tool).
 * 
 * @author Xavier Gouchet
 * 
 */
public class AkDefault extends AkBrush {

	/**
	 * Standard Constructor.
	 */
	public AkDefault() {
		super(1, "Default");
	}

	/**
	 * @see alkwarel.objects.AkBrush#DrawStroke(alkwarel.objects.AkArtspace,
	 *      float, float, float, float)
	 */
	public boolean DrawStroke(AkArtspace a, float srcx, float srcy,
			float destx, float desty) {
		a.strokeWeight(1.0f);
		a.line(srcx, srcy, destx, desty);
		return false;
	}

}
